package com.foruo.learn.designmode.bridge;

/**
 * 具体商品 - jacket
 * @author GaoYuan
 */
public class Jacket extends AbstractGoods {

    protected Jacket(IGoodsCreate goodsCreate) {
        super(goodsCreate);
    }

    /**
     * 具体创建方法
     * @author GaoYuan
     */
    @Override
    public void create() {
        goodsCreate.createGoods("Jacket");
    }

    @Override
    public void create2() {
        goodsCreate.createGoods("Jacket by create2()");
    }
}
